<?php /* Smarty version 2.6.14, created on 2015-04-01 10:36:29
         compiled from push_group.add.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'html_options', 'push_group.add.html', 16, false),array('modifier', 'date_format', 'push_group.add.html', 19, false),array('modifier', 'in_array', 'push_group.add.html', 28, false),)), $this); ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "header.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<link rel="stylesheet" type="text/css" href="<?php echo @BASEURI; ?>
public/css/ui.datepicker.css"/>
<script language="javascript" src="<?php echo @BASEURI; ?>
public/js/ui.datetimepicker.js"></script>
<form action="<?php echo $this->_tpl_vars['formAction']; ?>
" method="POST" <?php if ($this->_tpl_vars['is_validator']): ?> id="adminform" onsubmit="return Validator.Validate(this)" <?php endif; ?>>
<table class="adminform" border="0" cellspacing="0">
    <tr>
        <th><b>发送用户组添加</b></th>
    </tr>
    <tr>
        <td>
            用户组名:&nbsp;&nbsp;<input type="text"  style="width:350px;" name="name" value="<?php echo $this->_tpl_vars['data']['name']; ?>
" id="name" class="text" />
            <br/>
            选择证书:<br/>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<select name="pemmd5[]" multiple="true" size="10" style="width:200px">
                        <option value="all" >全部</option>
                        <?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['pemmd5'],'selected' => $this->_tpl_vars['data']['pemmd5']), $this);?>

                    </select>
            <br/>
            选择时间:&nbsp;&nbsp;<input class="text" style="width:120px" type="text" name="startTime" id="startTime" readonly value='<?php echo ((is_array($_tmp=$this->_tpl_vars['data']['startTime'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%Y-%m-%d %H:%M") : smarty_modifier_date_format($_tmp, "%Y-%m-%d %H:%M")); ?>
'/>
            -- <input class="text" style="width:120px" type="text" name="stopTime" id="stopTime" readonly value='<?php echo ((is_array($_tmp=$this->_tpl_vars['data']['stopTime'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%Y-%m-%d %H:%M") : smarty_modifier_date_format($_tmp, "%Y-%m-%d %H:%M")); ?>
'/>&nbsp;&nbsp;
            <br/>
            已安装应用ID:<input type="text"  style="width:350px;" name="installAppid" value="<?php echo $this->_tpl_vars['data']['installAppid']; ?>
" id="installAppid" class="text" />
            <br/>
            未安装应用ID:<input type="text"  style="width:350px;" name="noInstallAppid" value="<?php echo $this->_tpl_vars['data']['noInstallAppid']; ?>
" id="noInstallAppid" class="text" />
            <br/>
            设 &nbsp;&nbsp;备:&nbsp;&nbsp;
                    <?php $_from = $this->_tpl_vars['device']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['devices']):
?>
                        <input type="checkbox" name="device[]" class="device" <?php if (((is_array($_tmp=$this->_tpl_vars['key'])) ? $this->_run_mod_handler('in_array', true, $_tmp, $this->_tpl_vars['selectDevice']) : in_array($_tmp, $this->_tpl_vars['selectDevice']))): ?> CHECKED="true" <?php endif; ?> value="<?php echo $this->_tpl_vars['key']; ?>
"> <?php echo $this->_tpl_vars['devices']; ?>

                    <?php endforeach; endif; unset($_from); ?>
            <br/>
            地 &nbsp;&nbsp;区:&nbsp;&nbsp;
                    <?php $_from = $this->_tpl_vars['region']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['regions']):
?>
                        <input type="checkbox" name="region[]" class="regions" <?php if (((is_array($_tmp=$this->_tpl_vars['key'])) ? $this->_run_mod_handler('in_array', true, $_tmp, $this->_tpl_vars['selectRegion']) : in_array($_tmp, $this->_tpl_vars['selectRegion']))): ?> CHECKED="true" <?php endif; ?> value="<?php echo $this->_tpl_vars['key']; ?>
"> <?php echo $this->_tpl_vars['regions']; ?>

                    <?php endforeach; endif; unset($_from); ?>
            <br/>
            i苹果版本:&nbsp;&nbsp;<?php $_from = $this->_tpl_vars['version']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['versions']):
?>
                        <input type="checkbox" name="version[]" class="version" <?php if (((is_array($_tmp=$this->_tpl_vars['key'])) ? $this->_run_mod_handler('in_array', true, $_tmp, $this->_tpl_vars['selectVersion']) : in_array($_tmp, $this->_tpl_vars['selectVersion']))): ?> CHECKED="true" <?php endif; ?> value="<?php echo $this->_tpl_vars['key']; ?>
"> <?php echo $this->_tpl_vars['versions']; ?>

                    <?php endforeach; endif; unset($_from); ?>
            <br/>
            <?php if ($this->_tpl_vars['data']): ?>
            <input type="hidden" name="id" value="<?php echo $this->_tpl_vars['data']['id']; ?>
" />
            <?php endif; ?>
        </td>

    </tr>
    <tr>
        <td><input type="submit" name="button" value="<?php echo $this->_tpl_vars['systemLang']['submit']; ?>
" class="button" /></td>
    </tr>
</table>
</form>

<script>
    $('#startTime').datetimepicker({dateFormat:"yy-mm-dd h:i",timeFormat:"",maxDate:"+1d"});
    $('#stopTime').datetimepicker({dateFormat:"yy-mm-dd h:i",timeFormat:"",maxDate:"+1d"});
</script>